package com.apache.ibatis.io;

import java.io.InputStream;

/**
 * 加载mybatis-config.xml配置文件，形成字符流
 */
public class Resources {

    public static InputStream getResourcesAsStream(String path) {
        InputStream inputStream = Resources.class.getClassLoader().getResourceAsStream(path);
        return inputStream;
    }
}
